@import '../../common.scss';
page {
    background-color: $bgcolor-gray;
    font-size: 30rpx;
}

.header {
    background-color: white;
    padding: 30rpx 30rpx 16rpx 30rpx;
    .priceBox {
        display: flex;
        align-items: center;
        .amount {
            flex: 1;
            font-size: 60rpx;
            color: $title-color;
            font-weight: 700;
        }
        .goWithDraw {
            width: 165rpx;
            height: 65rpx;
            background: $primary;
            border-radius: 32rpx;
            opacity: 1;
            border: 1px solid $primary;
            color: white;
            text-align: center;
            line-height: 65rpx;
            font-weight: 700;
            font-size: 28rpx;
        }
    }
    .froze {
        display: flex;
        align-items: center;
        width: fit-content;
        font-size: 20rpx;
        color: $info-color;
        image {
            width: 24rpx;
            height: 24rpx;
            margin-left: 10rpx;
        }
    }
    .tip {
        position: fixed;
        padding: 30rpx;
        background: #ffffff;
        box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
        border-radius: 8px 8px 8px 8px;
        opacity: 1;
        font-size: 28rpx;
        color: #666666;
        margin-right: 30rpx;
        z-index: 999;
    }
}

.tab_title {
    display: flex;
    background-color: $bgcolor-gray;
    .name {
        padding: 30rpx;
        font-size: 30rpx;
        font-weight: 700;
        color: $info-color;
    }
    .nameChoosed {
        padding: 30rpx;
        font-size: 30rpx;
        font-weight: 700;
        color: $title-color;
    }
}

.section {
    display: block;
    box-sizing: border-box;
    width: 750rpx;
    background: #ededed;
    height: calc(100vh);
    padding-bottom: 180rpx;
    .invite {
        height: 186rpx;
        .intro2 {
            display: flex;
            align-items: center;
            font-size: 24rpx !important;
            & text {
                line-height: 24rpx;
                color: $info-color;
            }
            & button {
                display: inline-block;
                height: 30rpx;
                margin: 0 0 0 10rpx;
                padding: 0 20rpx;
                color: $info-color;
                font-size: 20rpx;
                line-height: 30rpx;
                border-radius: 100rpx;
            }
            &.relative {
                position: relative;
                &.line {
                    width: 100%;
                    height: 8rpx;
                    border-radius: 4rpx;
                }
            }
        }
    }
    .tasks {
        .list {
            .content {
                .intro2 {
                    display: inline-flex;
                    align-items: center;
                    margin-top: 15rpx;
                    &.relative {
                        position: relative;
                        & .line {
                            width: 100%;
                            height: 8rpx;
                            margin: 0;
                            border-radius: 4rpx;
                            &.current-line {
                                position: absolute;
                                background: linear-gradient( 90deg, rgba(89, 205, 215, 1) 0%, rgba(5, 155, 215, 1) 100%);
                            }
                        }
                    }
                }
            }
            .state {
                align-items: center;
                &.flex-f-d-c {
                    text {
                        font-size: 24rpx;
                    }
                }
                image {
                    width: 110rpx;
                    height: 40rpx;
                }
                text {
                    color: $primary;
                    font-size: 26rpx;
                    &.unfinished {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 110rpx;
                        height: 40rpx;
                        border: 1rpx solid $primary;
                        border-radius: 100rpx;
                    }
                    &.today {
                        color: $info-color;
                    }
                }
            }
        }
    }
    .topics {
        margin-top: 20rpx;
        padding-top: 40rpx;
        .content {
            display: inline;
            color: $info-color;
        }
    }
    &.order-list {
        background-color: $bgcolor-light;
    }
}

.list {
    display: flex;
    flex: 1;
    align-items: center;
    height: 100rpx;
    padding: 30rpx 20rpx;
    color: $info-color;
    border-bottom: 1rpx solid $border-color;
    .date {
        width: 100rpx;
        margin-right: 20rpx;
        font-size: 24rpx;
        text-align: center;
        color: #b3b3b3;
    }
    .content {
        flex: 1;
        color: $title-color;
        font-size: 30rpx;
    }
    .state {
        width: 4em;
        text-align: right;
        color: #b2b2b2;
        &.active {
            color: $primary;
        }
    }
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 730rpx;
    color: $info-color;
    image {
        width: 400rpx;
        height: 400rpx;
    }
}

.shoadow {
    position: fixed;
    width: 100%;
    height: 100%;
}

.placeholder {
    position: absolute;
    left: 0;
    right: 0;
    top: 170px;
}

.scrollContainer {
    height: 1000rpx;
    padding-bottom: 0rpx;
}